package com.union.vehicleassistant.http.api;

import androidx.annotation.NonNull;

import com.google.gson.annotations.SerializedName;
import com.hjq.http.config.IRequestApi;

public class CreateSignFileApi implements IRequestApi {
    @NonNull
    @Override
    public String getApi() {
        return "api/mobileApi/createPDF";
    }

    public String taskId;
    public String procInsId;
    public String filename;

    public CreateSignFileApi setTaskId(String taskId) {
        this.taskId = taskId;
        return this;
    }

    public CreateSignFileApi setProcInsId(String procInsId) {
        this.procInsId = procInsId;
        return this;
    }

    public CreateSignFileApi setFilename(String filename) {
        this.filename = filename;
        return this;
    }

    public static class Bean {

        @SerializedName("filename")
        private String filename;
        @SerializedName("url")
        private String url;
        @SerializedName("tableId")
        private int tableId;
        @SerializedName("fileType")
        private String fileType;

        public String getFilename() {
            return filename;
        }

        public void setFilename(String filename) {
            this.filename = filename;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public int getTableId() {
            return tableId;
        }

        public void setTableId(int tableId) {
            this.tableId = tableId;
        }

        public String getFileType() {
            return fileType;
        }

        public void setFileType(String fileType) {
            this.fileType = fileType;
        }
    }
}
